<%@tag pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%@ attribute name="gender" required="true" %>

<c:choose>
    <c:when test="${gender == 1}">
        <span>男</span>
    </c:when>
    <c:when test="${gender == 0}">
        <span>女</span>
    </c:when>
</c:choose>